package com.kmzx.gen.signs.dao;

import com.kmzx.gen.signs.dto.BackToRecord;
import com.kmzx.gen.signs.entity.PushData;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * @Project gen_sign
 * @Author: carol
 * @Date: 2020/7/22-11:31
 */

@Component
public interface PushDataMapper {


    int insertPushData(PushData pushData);

    int batchInsertPushData(List<PushData> list);

    int batchUpdateByIdSelective(List<PushData> list);

    int updateByIdSelective(PushData pushData);

    PushData selectById(@Param("id") String id);

    List<PushData> selectDataList();

    List<PushData> selectDataListOK();

    int batchSendOk(List<PushData> list);

    int batchSendOkGUID(List<PushData> list);

    int batchSendFinish(List<PushData> list);

    int batchBackFile(List<BackToRecord> list);

    List<PushData> selectByIdList(List<String> list);

    int batchInsertPushData2(List<BackToRecord> list);

}
